POV-Ray : Newsgroups : povray.newusers : Adding color to a wall : Adding color to a wall Server Time
4 Sep 2024 20:16:44 EDT (-0400)
  Adding color to a wall  
From: Wade
Date: 5 Aug 2002 19:23:26
Message: <3d4f08ee@news.povray.org>
well I'm using povray 3.5 and I'm having a lot of trouble with making the
wall's color show up.  here's the code:

camera {
  right x*image_width/image_height
  location  <0,.55,-4>
  look_at   <0,1,0>
}

light_source {
  <500,500,-500>       // light's position
  color rgb <1, 1, 1>  // light's color
}

sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0.6,0.7,1.0>]
      [0.7 rgb <0.0,0.1,0.8>]
    }
  }
}

// ----------------------------------------

plane {
  y, 0
  texture {
    pigment {
      checker
      color rgb <1.0, 0.8, 0.6>
      color rgb <1.0, 0.0, 0.0>
      scale 0.5
    }
  }
}
// An area light (creates soft shadows)
// WARNING: This special light can significantly slow down rendering times!
light_source {
  0*x                 // light's position (translated below)
  color rgb 1.0       // light's color
  area_light
  <8, 0, 0> <0, 0, 8> // lights spread out across this distance (x * z)
  4, 4                // total number of lights in grid (4x*4z = 16 lights)
  adaptive 0          // 0,1,2,3...
  jitter              // adds random softening of light
  circular            // make the shape of the light circular
  orient              // orient light
  translate <40, 80, -40>   // <x y z> position of light
}



// create a box that extends between the 2 specified points
box {
  <-5, -5, 0>  // one corner position <X1 Y1 Z1>
  < 5,  5,  0>  // other corner position <X2 Y2 Z2>
  color Khaki

}
__________________________________________________________________ Wade
Markham ICQ#: 44258048 Current ICQ status: + More ways to contact me i See
more about me:
__________________________________________________________________


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.